package day10.Ti.FileDome;

import java.io.File;
import java.io.IOException;

public class Ti02 {
    public static void main(String[] args) throws IOException {
        File file1 = new File("test.txt");
        File file2 = new File("abc");
        File file3 = new File("aaa/bbb/ccc");
        if (file1.exists()) {
            file1.createNewFile();
        }


        if (file2.exists()) {
            file2.mkdir();
        }
        if (file3.exists()){
            file3.mkdirs();
        }
    }
}
